package org.springblade.modules.customer.service;

import org.springblade.modules.customer.entity.Customer;
import org.springblade.modules.customer.form.CustomerForm;
import com.baomidou.mybatisplus.core.toolkit.StringPool;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import org.springblade.common.exception.BizException;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springblade.core.tool.api.IResultCode;
/**
 * 客户表 服务类
 *
 * @author armyant
 * @since 2024-04-21
 */
public interface ICustomerService extends IService<Customer> {

/**
    * 1、增加
    *
    * @param form 表单对象
    *
    * @throws BizException 服务层根异常
    */
void save(CustomerForm form) throws BizException;

/**
 * 1、编辑
 *
 * @param form 表单对象
 * @param id   主键
 * @throws BizException 服务层根异常
 */
void editByPrimaryKey(CustomerForm form, Long id) throws BizException;

/**
 * 物理删除
 *
 * @param id 主键
 *      @throws BizException 服务层根异常
 */
void deleteByPrimaryKey(Long id) throws BizException;

        }
